<template>
	<view>
		<view class="popupBox bb">
			<view class="u-flex-col sereen_item">
				<view class="title">过磅类别</view>
				<view class="u-flex u-row-between">
					<view class="notac">销售过磅</view>	
					<view class="notac">采购过磅</view>	
					<view class="notac">其他过磅</view>	
				</view>
			</view>
			
			<view class="u-flex-col sereen_item">
				<view class="title">车牌号码</view>
				<input v-model="licensePlate" disabled @click="plateShow = true" type="text" placeholder="请输入" class="inputs bb">
				<!-- <view class="u-flex u-row-between">
					<view class="notac">销售过磅</view>	
					<view class="notac">采购过磅</view>	
					<view class="notac">其他过磅</view>	
				</view> -->
			</view>
			<view class="u-flex tail">
				<view class="reset">
					重置
				</view>
				<view class="search">
					查询
				</view>
			</view>
		</view>
		<plate-input v-if="plateShow" @export="setPlate" @close="plateShow=false"></plate-input>
	</view>
</template>

<script>
	import plateInput from '@/components/uni-plate-input/uni-plate-input.vue'
	export default {
		name:"screening",
		components:{plateInput},
		data() {
			return {
				index1:0,
				plateShow:false,
				licensePlate:''
			};
		},
		methods:{
			setPlate(e){
				this.licensePlate = e
				this.plateShow = false
			}
		}
	}
</script>

<style lang="scss">
	.popupBox{
		width: 630rpx; 
		height: 100vh;
		overflow: hidden;
		padding: 0 32rpx;
		background: rgba(255, 255, 255, 1);
		.sereen_item{
			margin-top: 48rpx;
			.title{
				font-weight: 400;
			}
		}
	}
	.ac{
		width: 176rpx;
		height: 64rpx;
		border-radius: 8rpx;
		font-size: 24rpx;
		font-weight: 400;
		text-align: center;
		line-height: 64rpx;
		background: rgba(254, 240, 7, 1);
		margin-top: 18rpx;
	}
	.notac{
		@extend .ac;
		background: rgba(237, 237, 237, 1);
	}
	.inputs{
		width: 100%;
		height: 64rpx;
		margin-top: 18rpx;
		border-radius: 40rpx;
		border: 2rpx solid rgba(237, 237, 237, 1);
		padding-left: 32rpx;
	}
	.reset{
		width: 50%;
		height: 96rpx;
		background: rgba(232, 232, 232, 1);
		font-weight: 400;
		line-height: 96rpx;
		text-align: center;
	}
	.search{
		width: 50%;
		height: 96rpx;
		background: rgba(254, 240, 7, 1);
		font-weight: 400;
		line-height: 96rpx;
		text-align: center;
	}
	.tail{
		position: fixed;
		bottom: 0;
		width: 100%;
		left: 0;
	}
</style>